/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package seso;

import java.awt.Graphics;
import javax.swing.JLabel;

/**
 *
 * @author Administrator
 */
public class Label extends JLabel{

    public Label() {
    }

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        
        /** 根据DetailDialog的所处的模式设置Enabled的值
         * 
         */
        if(!java.beans.Beans.isDesignTime())
        {
            //this.setVisible(!((DetailDialog)this.getRootPane().getParent()).getIsMainMode());
        }
    }
}
